package wifiunion.com.notice.utils.imageprocess.eneity;

/**
 * 
 * @ClassName Image 
 * @Description TODO 
 * @Version 
 * @Author wifiunion
 * @Creation 2016年6月20日 下午4:00:19 
 * @Mender wifiunion
 * @Modification 2016年6月20日 下午4:00:19 
*
 */
public class Image {

    public String path;
    public String name;
    public long time;

    public Image(String path, String name, long time) {
        this.path = path;
        this.name = name;
        this.time = time;
    }

    @Override
    public boolean equals(Object o) {
        try {
            Image other = (Image) o;
            return this.path.equalsIgnoreCase(other.path);
        } catch (ClassCastException e) {
            e.printStackTrace();
        }
        return super.equals(o);
    }
}